package com.teen9g.userVO;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Accessors(chain = true)
public class TeachingBuildingUserVO implements Serializable {
    private Integer contentId; //内容id
    private Integer buildingId; //教学楼或学院楼号 DTO
    private String buildingName; //教学楼或学院楼名称 DTO
    private String roomNumber; //房间号 DTO
    private String contentTitle; //内容标题 DTO
    private String contentDescription; //内容描述 DTO
    private String contentImage; //内容图片列表（最多6张）DTO
    private String contentAuthor; //内容作者
    private Integer contentView; //内容浏览量
    private Integer contentCommentCount; //内容评论数量
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime contentCreateTime; //内容创建时间
}
